<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

/**
 * Class Activity
 * @package App
 */
class Activity extends Model
{
    /**
     * @var array
     */
    protected $fillable=['activity_name','activity_place','activity_date','activity_charge','enrollments','activity_phone'
    ,'activity_intro','love_count'];

    /**
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     */
    public function activityorders()
    {
        return $this->hasMany(ActivityOrder::class);
    }
}
